//
//  ViewController.m
//  04-重绘-下载进度
//
//  Created by J on 16/2/23.
//  Copyright © 2016年 J. All rights reserved.
//

#import "ViewController.h"
#import "ProgressView.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet ProgressView *proGressView;

@property (weak, nonatomic) IBOutlet UILabel *progressLabel;


@property (weak, nonatomic) IBOutlet UISlider *slide;


@end


@implementation ViewController
- (IBAction)change:(UISlider *)sender {
    
    // %% = %
    _progressLabel.text = [NSString stringWithFormat:@"%.2f%%",sender.value * 100];
    
    // 给progressView赋值
    _proGressView.progress = sender.value;
}

- (void)viewDidLoad {
    [super viewDidLoad];
   
}



@end
